home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue56 / System / RASEditPhoneBookForm.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  2000-03-03  |  691 b   |  37 lines

  1. unit RASEditPhoneBookForm;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  7.   StdCtrls, ExtCtrls;
  8.  
  9. type
  10.   TEditPhoneBook = class(TForm)
  11.     Label1: TLabel;
  12.     UserName: TEdit;
  13.     Label2: TLabel;
  14.     PhoneNumber: TEdit;
  15.     Label3: TLabel;
  16.     PassWord: TEdit;
  17.     OKButton: TButton;
  18.     CencelButton: TButton;
  19.     Bevel1: TBevel;
  20.     procedure UserNameChange(Sender: TObject);
  21.   private
  22.     { Private declarations }
  23.   public
  24.     { Public declarations }
  25.   end;
  26.  
  27. implementation
  28.  
  29. {$R *.DFM}
  30.  
  31. procedure TEditPhoneBook.UserNameChange(Sender: TObject);
  32. begin
  33.     OKButton.Enabled := UserName.Text <> '';
  34. end;
  35.  
  36. end.
  37.